package com.example.shop.service;

import com.example.shop.entity.Organization;
import com.example.shop.entity.Organizationtype;

import java.util.List;


/**
 * (Organization)表服务接口
 *
 * @author makejava
 * @since 2025-03-26 09:26:31
 */
public interface OrganizationService {

    /**
     * 通过ID查询单条数据
     *
     * @param organizationid 主键
     * @return 实例对象
     */
    Organization queryById(Integer organizationid);

  
    /**
     * 新增数据
     *
     * @param organization 实例对象
     * @return 实例对象
     */
    Organization insert(Organization organization);

    /**
     * 修改数据
     *
     * @param organization 实例对象
     * @return 实例对象
     */
    Organization update(Organization organization);

    /**
     * 通过主键删除数据
     *
     * @param organizationid 主键
     * @return 是否成功
     */
    boolean deleteById(Integer organizationid);
    List<Organization> queryAll();

}
